<%@ page language="java" pageEncoding="utf-8" contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="ww" uri="webwork" %>
<ww:bean name="'com.css.apps.base.dict.service.DictMan'" id="dictID" />
<form class="form-horizontal form-validate" method="post"  <ww:if test="sip.uuid != null">action="updIp.action"</ww:if><ww:else>action="addIp.action"</ww:else> onsubmit="return $action.submit(this)">
  <input type="hidden" name="uuid" id="uuid" value="<ww:property value='sip.uuid'/>">
  <div class="control-group" >
    <label class="control-label"><span class="required">*</span>IP字段</label>
    <div class="controls">
      <input type="text" maxlength="100"  placeholder="请输入IP段"  class="input-large required ipip" name="ip" id="ip" value="<ww:property value='sip.ip'/>" >
    </div>
  </div>
  <div class="control-group">
      <label class="control-label"><span class="required">*</span>IP状态</label>
      <div class="controls">
	      <input type="radio"  value="1" <ww:if test="sip.openFlag.equals(\"1\")">checked="checked"</ww:if>
	      <ww:else><ww:if test="sip.openFlag.equals(\"\")">checked="checked"</ww:if></ww:else> id="openFlagOpen" name="openFlag">开启
	      <input type="radio"  value="2" <ww:if test="sip.openFlag.equals(\"2\")">checked="checked"</ww:if> id="openFlagClose" name="openFlag">关闭
      </div>
  </div>
  <div class="control-group">
    <label class="control-label"><span>&nbsp;</span><span>&nbsp;</span>IP描述</label>
	<div class="controls">
      <div class="textarea">
        <textarea rows="5" maxlength="150" name="remark" id="remark" class="input-large"><ww:property value='sip.remark'/></textarea>
      </div>
    </div>
  </div>
  <!--
  <div class="control-group">
    <label class="control-label"><span class="required">*</span>IP状态</label>
    <div class="controls">
      <input type="text" maxlength="100" placeholder="请输入ip状态" class="input-large required" name="openFlag" id="openFlag" value="<ww:property value='sip.openFlag'/>" >
    </div>
  </div>-->
  <div class="set-btn" data-spy="affix" data-offset-top="200">
   <button class="btn green" type="button" onclick="$(this).submit();">保存</button>
    <a class="btn" href="javascript:;" onclick="$css.closeDialog()">取消</a>
  </div>
</form>
